package adapterpattern;
/**
 * 适配器模型 测试demo
 * AdapterPatternDemo.java
 * @author yaojinshan
 * @since 2017年6月19日 上午10:19:02
 *
 */
public class AdapterPatternDemo {

	public static void main(String[] args) {
		AudioPlayer audioPlayer = new AudioPlayer();
		audioPlayer.play("mp3", "aaa1");
		audioPlayer.play("mp4", "aaa2");
		audioPlayer.play("vlc", "aaa3");
		audioPlayer.play("avi", "aaa4");
	}

}
